/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Project2.cs342.project1.mathNotebook.data;

import java.sql.*;
import java.io.*;

/**
 *
 * @author Rick
 */
public class BlobProcessor {

    static String db = "cs342group6";
    static String pw = "p2850124";
    static String dbURL;
    static String id = null;
    static String file_name = null;
    static Connection conn = null;

    public BlobProcessor(){
        
    }

    public static void main(String[] args){



        try {
            //establish connection
            Class.forName("com.mysql.jdbc.Driver");
            dbURL = "jdbc:mysql://cs346.cs.uwosh.edu:4381/" + db;
            System.out.println("Attemping Connection");
            conn = DriverManager.getConnection(dbURL, db, pw);
            System.out.println("Connection Successful");
            conn.close();
        }
        catch(Exception ex){
            System.out.println("Error " + ex);
        }
    }

}
